package com.ruoyi.recipes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 制作步骤对象 recipe_steps
 * 
 * @author syy
 * @date 2025-08-14
 */
public class RecipeSteps extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 菜谱ID */
    @Excel(name = "菜谱ID")
    private Long recipeId;

    /** 步骤顺序（1、2、3...） */
    @Excel(name = "步骤顺序", readConverterExp = "1=、2、3...")
    private Integer stepOrder;

    /** 步骤内容 */
    @Excel(name = "步骤内容")
    private String content;

    /** 步骤图片 */
    @Excel(name = "步骤图片")
    private String coverImg;

    /** 是否删除：0正常 1删除 */
    private Integer del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRecipeId(Long recipeId) 
    {
        this.recipeId = recipeId;
    }

    public Long getRecipeId() 
    {
        return recipeId;
    }

    public void setStepOrder(Integer stepOrder) 
    {
        this.stepOrder = stepOrder;
    }

    public Integer getStepOrder() 
    {
        return stepOrder;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setCoverImg(String coverImg) 
    {
        this.coverImg = coverImg;
    }

    public String getCoverImg() 
    {
        return coverImg;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recipeId", getRecipeId())
            .append("stepOrder", getStepOrder())
            .append("content", getContent())
            .append("coverImg", getCoverImg())
            .append("del", getDel())
            .toString();
    }
}
